﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SampleKeyValueDemo
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var start = DateTime.Now;
            Response.ContentType = System.Net.Mime.MediaTypeNames.Text.Plain;
            var dogStore = DataStoreFactory.GDogStore();
            if (dogStore != null)
            {
                Response.Write(dogStore.Get("dog1") + Environment.NewLine);
            }

            Response.Write("processing time: " + DateTime.Now.Subtract(start).TotalMilliseconds);
        }
    }
}